<?php
class BackendController extends Controller
{
	public $layout = 'webroot.themes.layouts.main';
	public function actionError()
	{
 		$error = Yii::app()->errorHandler->error['code'];
		$this->render('error'.$error);
	}
}